package view.templates;

import java.awt.Color;
import java.awt.LayoutManager;

import javax.swing.JPanel;

public class MyJPanel extends JPanel {
	private static final long serialVersionUID = 1L;

	private Color color = ColorTemplate.Background.getColor();

	public MyJPanel() {
		super();
		setBackground(color);
	}

	public MyJPanel(boolean isDoubleBuffered) {
		super(isDoubleBuffered);
		setBackground(color);
	}

	public MyJPanel(LayoutManager layout, boolean isDoubleBuffered) {
		super(layout, isDoubleBuffered);
		setBackground(color);
	}

	public MyJPanel(LayoutManager layout) {
		super(layout);
		setBackground(color);
	}
}
